import React, { memo } from 'react';
import { HashRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import APPWrapper from './pages/app';
import store from './store';
import NavBar from './components/nav-bar';
import 'zarm/dist/zarm.css';

export default memo(function App() {
  return (
    <Provider store={store}>
      <HashRouter>
        <NavBar />
        {/* Router路由映射 */}
        <APPWrapper />
      </HashRouter>
    </Provider>
  );
});
